<?php
	$ID = $_GET['ID'];
	try{
		$db =new pdo("mysql:host=localhost;dbname=db_database10;charset=utf8","root","");
	}
	catch(Exception $exc){
		echo $exc->getMessage();
	}
	$stmt = $db->prepare('delete from exam where id=?');
	$stmt->execute(array($ID));
	echo "<script>alert('删除成功！');location='arrange.php';</script>";
?>